<h2 class="contentTitle">suggest+lookup</h2>
<form action="demo/common/ajaxDone.html?navTabId=masterList&callbackType=closeCurrent" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
<div class="pageContent">
	<div class="pageFormContent" layoutH="97">
		
		<dl class="nowrap">
			<dt>閮ㄩ棬鍚嶇ОA1锛�/dt>
			<dd>
				<input id="inputOrg1" name="org1.id" value="" type="hidden"/>
				<input class="required" name="org1.orgName" type="text" postField="keyword" suggestFields="orgNum,orgName" 
					suggestUrl="demo/database/db_lookupSuggest.html" lookupGroup="org1"/>
				<a class="btnLook" href="/tpl/demo/database/dwzOrgLookup.html" lookupGroup="org1">鏌ユ壘甯﹀洖</a>	
				<span class="info">(suggest+lookup)</span>
			</dd>
		</dl>
		<dl class="nowrap">
			<dt>閮ㄩ棬缂栧彿A1锛�/dt>
			<dd>
				<input class="readonly" name="org1.orgNum" readonly="readonly" type="text"/>
			</dd>
		</dl>

		<dl class="nowrap">
			<dt>閮ㄩ棬鍚嶇ОA2锛�/dt>
			<dd>
				<input name="org1_1.id" value="" type="hidden"/>
				<input class="required" name="org1_1.orgName" type="text" suggestFields="orgNum,orgName" 
					suggestUrl="demo/database/db_lookupSuggest.html?orgId={inputOrg1}" warn="璇烽�鎷╅儴闂ˋ1" lookupGroup="org1_1"/>
				<a class="btnLook" href="demo/database/dwzOrgLookup.html?orgId={inputOrg1}" warn="璇烽�鎷╅儴闂ˋ1" lookupGroup="org1_1">鏌ユ壘甯﹀洖</a>		
				<span class="info">(suggest銆乴ookup 鑱斿姩鏁堟灉)</span>
			</dd>
		</dl>
		<div class="divider"></div>
		
		<dl class="nowrap">
			<dt>閮ㄩ棬鍚嶇ОB锛�/dt>
			<dd>
				<input name="org2.id" value="" type="hidden">
				<input class="required" name="org2.orgName" type="text" suggestFields="orgName" suggestUrl="demo/database/db_lookupSuggest.html" lookupGroup="org2"/>
				<span class="info">(suggest)</span>
			</dd>
		</dl>
		
		<div class="divider"></div>

		<dl class="nowrap">
			<dt>閮ㄩ棬鍚嶇ОC锛�/dt>
			<dd>
				<input name="org3.id" value="" type="hidden">
				<input name="org3.orgName" type="text"/>
				<a class="btnLook" href="demo/database/dwzOrgLookup2.html" lookupGroup="org3">鏌ユ壘甯﹀洖</a>
				<span class="info">(lookup 閫氳繃澶嶉�妗嗛�鎷╁涓�鏌ユ壘鍥炲甫)</span>
			</dd>
		</dl>
		<dl class="nowrap">
			<dt>閮ㄩ棬缂栧彿C锛�/dt>
			<dd>
				<input class="readonly" name="org3.orgNum" readonly="readonly" type="text"/>
			</dd>
		</dl>

		<div class="divider"></div>
		<dl class="nowrap">
			<dt>閮ㄩ棬锛堢粨灏惧甫涓嬫爣锛夛細</dt>
			<dd>
				<input name="org.id[]" value="1" type="hidden"/>
				<input class="required" name="org.orgName[]" value="鎶�湳閮� type="text" suggestFields="orgNum,orgName" suggestUrl="demo/database/db_lookupSuggest.html" lookupGroup="org" suffix="[]"/>
				<a class="btnLook" href="demo/database/dwzOrgLookup.html" lookupGroup="org" suffix="[]">鏌ユ壘甯﹀洖</a>		
				<span class="info">闇�suffix="[]"灞炴�锛屼笅鏍囦竴鑸敤浜庝富浠庣粨鏋勫瓙琛�/span>
			</dd>
		</dl>
		
		<div class="divider"></div>
		<dl class="nowrap">
			<dt>閮ㄩ棬锛堜腑闂村甫涓嬫爣锛夛細</dt>
			<dd>
				<input name="org[].id" value="1" type="hidden"/>
				<input class="required" name="org[].orgName" value="鎶�湳閮� type="text" suggestFields="orgNum,orgName" suggestUrl="demo/database/db_lookupSuggest.html" lookupGroup="org[]"/>
				<a class="btnLook" href="demo/database/dwzOrgLookup.html" lookupGroup="org[]">鏌ユ壘甯﹀洖</a>		
				<span class="info">涓嶉渶瑕乻uffix="[]"灞炴�锛宭ookupGroup灞炴�涓姞涓婃柟鎷彿[]</span>
			</dd>
		</dl>
		
		<div class="divider"></div>
		<dl class="nowrap">
			<dt>鑷畾涔塴ookupPk锛�/dt>
			<dd>
				<input name="obj.orgNum" value="" type="hidden"/>
				<input class="required" name="obj.orgName" type="text" suggestFields="orgNum,orgName" suggestUrl="demo/database/db_lookupSuggest.html" lookupGroup="obj" lookupPk="orgNum"/>
				<a class="btnLook" href="demo/database/dwzOrgLookup.html" lookupGroup="obj" lookupPk="orgNum">鏌ユ壘甯﹀洖</a>	
				<span class="info">鑷畾涔塴ookup涓婚敭锛屽彧闇�坊鍔爈ookupPk="xxx"灞炴�锛坙ookupPk榛樿鍊间负id锛�/span>
			</dd>
		</dl>
		
		<div class="divider"></div>
		
		<dl class="nowrap">
			<dt>闄勪欢锛�/dt>
			<dd>
				<input name="attachment.id" value="" type="hidden">
				<input class="readonly" name="attachment.fileName" value="" readonly="readonly" type="text"/>
				<a class="btnAttach" href="demo/database/db_attachmentLookup.html" lookupGroup="attachment" width="560" height="300" title="闄勪欢">闄勪欢</a>
				<span class="info">(lookup闄勪欢)</span>
			</dd>
		</dl>
		
		<div class="divider"></div>
		<h3 class="contentTitle">涓讳粠缁撴瀯</h3>
		<div class="tabs">
			<div class="tabsHeader">
				<div class="tabsHeaderContent">
					<ul>
						<li class="selected"><a href="javascript:void(0)"><span>浠庤〃1銆怱truts2 绀轰緥銆�/span></a></li>
						<li><a href="javascript:void(0)"><span>浠庤〃2銆怭HP 绀轰緥 - 缁撳熬甯︿笅鏍嘯#index#]銆�/span></a></li>
						<li><a href="javascript:void(0)"><span>浠庤〃2銆怭HP 绀轰緥 - 缁撳熬甯︿笅鏍嘯]銆�/span></a></li>
					</ul>
				</div>
			</div>
			<div class="tabsContent" style="height: 150px;">
				<div>
					<table class="list nowrap itemDetail" addButton="鏂板缓浠庤〃1鏉＄洰" width="100%">
						<thead>
							<tr>
								<th type="text" name="items[#index#].itemString" size="12" fieldClass="required" fieldAttrs="{remote:'validate_remote.html', maxlength:10}">浠庡瓧绗︿覆</th>
								<th type="text" name="items[#index#].itemInt" defaultVal="#index#" size="12" fieldClass="digits">浠庢暣鏁�/th>
								<th type="text" name="items[#index#].itemFloat" defaultVal="0.8" size="12" fieldClass="number">浠庢诞鐐�/th>
								<th type="date" name="items[#index#].itemDate" defaultVal="2011-12-28" size="12">浠庢棩鏈�/th>
								<th type="date" format="yyyy-MM-dd HH:mm:ss" name="items[#index#].itemDataTime" size="16">浠庢棩鏈熸椂闂�/th>
								<th type="lookup" name="items[#index#].org.orgName" lookupGroup="items[#index#].org" lookupUrl="demo/database/dwzOrgLookup.html" suggestUrl="demo/database/db_lookupSuggest.html" suggestFields="orgName" postField="keywords" size="12" fieldClass="required">閮ㄩ棬鍚嶇О</th>
								<th type="enum" name="items[#index#].itemEnum" enumUrl="demo/database/db_select.html" size="12">浠庢灇涓�/th>
								<th type="attach" name="items[#index#].attachment.fileName" lookupGroup="items[#index#].attachment" lookupUrl="demo/database/db_attachmentLookup.html" size="12">浠庨檮浠�/th>
								<th type="del" width="60">鎿嶄綔</th>
							</tr>
						</thead>
						<tbody></tbody>
					</table>
				</div>
				<div>
					<table class="list nowrap itemDetail" addButton="鏂板缓浠庤〃2鏉＄洰" width="100%">
						<thead>
							<tr>
								<th type="text" name="items.itemString[#index#]" size="12" fieldClass="required">浠庡瓧绗︿覆</th>
								<th type="text" name="items.itemInt[#index#]" size="12" fieldClass="digits">浠庢暣鏁�/th>
								<th type="text" name="items.itemFloat[#index#]" size="12" fieldClass="number">浠庢诞鐐�/th>
								<th type="date" name="items.itemDate[#index#]" size="12">浠庢棩鏈�/th>
								<th type="date" format="yyyy-MM-dd HH:mm:ss" name="items.itemDataTime[#index#]" size="16">浠庢棩鏈熸椂闂�/th>
								<th type="lookup" name="items.org.orgName[#index#]" lookupGroup="items.org" lookupUrl="demo/database/dwzOrgLookup.html" lookupPk="orgNum" suggestUrl="demo/database/db_lookupSuggest.html" suggestFields="orgNum,orgName" size="12">閮ㄩ棬鍚嶇О</th>
								<th type="enum" name="items.itemEnum[#index#]" enumUrl="demo/database/db_select.html" size="12">浠庢灇涓�/th>
								<th type="attach" name="items.attachment.fileName[#index#]" lookupGroup="items.attachment" lookupUrl="demo/database/db_attachmentLookup.html" size="12">浠庨檮浠�/th>
								<th type="del" width="60">鎿嶄綔</th>
							</tr>
						</thead>
						<tbody></tbody>
					</table>
				</div>
				<div>
					<table class="list nowrap itemDetail" addButton="鏂板缓浠庤〃3鏉＄洰" width="100%">
						<thead>
							<tr>
								<th type="text" name="items.itemString[]" size="12" fieldClass="required">浠庡瓧绗︿覆</th>
								<th type="text" name="items.itemInt[]" size="12" fieldClass="digits">浠庢暣鏁�/th>
								<th type="text" name="items.itemFloat[]" size="12" fieldClass="number">浠庢诞鐐�/th>
								<th type="date" name="items.itemDate[]" size="12">浠庢棩鏈�/th>
								<th type="date" format="yyyy-MM-dd HH:mm:ss" name="items.itemDataTime[]" size="16">浠庢棩鏈熸椂闂�/th>
								<th type="lookup" name="items.org.orgName[]" lookupGroup="items.org" lookupUrl="demo/database/dwzOrgLookup.html" suggestUrl="demo/database/db_lookupSuggest.html" suggestFields="orgName" size="12">閮ㄩ棬鍚嶇О</th>
								<th type="enum" name="items.itemEnum[]" enumUrl="demo/database/db_select.html" size="12">浠庢灇涓�/th>
								<th type="attach" name="items.attachment.fileName[]" lookupGroup="items.attachment" lookupUrl="demo/database/db_attachmentLookup.html" size="12">浠庨檮浠�/th>
								<th type="del" width="60">鎿嶄綔</th>
							</tr>
						</thead>
						<tbody></tbody>
					</table>
				</div>
			</div>
			<div class="tabsFooter">
				<div class="tabsFooterContent"></div>
			</div>
		</div>
		
	</div>
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">淇濆瓨</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button class="close" type="button">鍏抽棴</button></div></div></li>
		</ul>
	</div>
</div>
</form>
